#include "../order/order.h"

void order::additem(item* ptr)
{
    ordercell m_temp_cell;
    m_temp_cell.ptr = ptr;
    m_temp_cell.databackup = *ptr;
    m_temp_cell.number = 1;
    data.emplace_back(m_temp_cell);
}